package com.miplus.ccrm.core.service.strategy;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.core.controller.vo.LabelResVo;
import com.miplus.ccrm.core.controller.vo.strategy.CpListEditVo;
import com.miplus.ccrm.core.controller.vo.strategy.CpListReqVo;
import com.miplus.ccrm.core.controller.vo.strategy.CpListResVo;
import com.miplus.ccrm.core.pojo.CpCalllist;
import com.baomidou.mybatisplus.extension.service.IService;
import com.miplus.ccrm.core.utils.EnumFiChannel;

import java.util.List;

/**
* @author pc
* @description 针对表【cp_calllist(回访清单表)】的数据库操作Service
* @createDate 2024-03-21 16:08:15
*/
public interface CpCalllistService extends IService<CpCalllist> {

    IPage<CpListResVo> campaignList(CpListReqVo paras);

    CmdResVo campaignUpdate(String $usrid, CpListEditVo paras);

    CmdResVo campaignInsert(String $usrid,CpListEditVo paras);

    CmdResVo campaignDelete(String id);

    List<LabelResVo> campaignSelectList(Integer status,Integer channel);

    Integer getCalllistWfID(String clid);
    String getClid(Integer channel);

    List<LabelResVo> dialSelectList(Integer status);

    List<LabelResVo> qmSelectList(Integer status);

    List<LabelResVo> getTemplateList(Integer channel);

    boolean checkActionOk(Integer ficaseid, String clid, EnumFiChannel enumFiChannel);
}
